package com.example.bootdemo.service.Impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.bootdemo.dao.UserMapper;
import com.example.bootdemo.model.User;
import com.example.bootdemo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service("userService2")
public class UserService2Impl extends ServiceImpl<UserMapper, User> implements UserService {
    @Autowired
    UserMapper userMapper;

    @Override
    public List<Map<String, Object>> listMaps1() {
        return userMapper.listMaps1();
    }

    @Override
    public IPage<User> selectUserPage(Page<User> page, QueryWrapper<User> userQuery) {
        return userMapper.selectUserPage(page, userQuery);
    }

    @Override
    public User selectByUsername(String username) {
        return null;
    }

    @Override
    public List<User> listUser(Map<String, Object> map) {
        return null;
    }

    @Override
    public void pageListBigData() {

    }
}
